-- GENERATED SPELL FOR [Goggeroc] --


function spell0_11920(pUnit, Event) --@Snap Kick,n/a--
pUnit:FullCastSpellOnTarget(8646,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_11920', 2316, 1)
end

function spell1_11920(pUnit, Event) --@Uppercut,n/a--
pUnit:FullCastSpellOnTarget(10966,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_11920', 608, 1)
end

function Sorts_11920(pUnit, Event)
local choix_sorts_11920 = math.random(0, 1)
if choix_sorts_11920 == 0 then
pUnit:RegisterEvent('spell0_11920', 1, 1)
end
if choix_sorts_11920 == 1 then
pUnit:RegisterEvent('spell1_11920', 1, 1)
end
end

function mob11920_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_11920', math.random(1500, 3000), 1)
end

function mob11920_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11920_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11920_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(11920, 1, 'mob11920_Action')
RegisterUnitEvent(11920, 2, 'mob11920_Leave')
RegisterUnitEvent(11920, 3, 'mob11920_Kill')
RegisterUnitEvent(11920, 4, 'mob11920_Die')
